package group2assignone.ucm.manager;

import group2assignone.ucm.UCController;
import group2assignone.view.manager.CreateFlightView;
import group2assignone.view.manager.ManagerView;

/**
 * use case to change UI to create manager view
 * @author group2
 */
public class UCManagerUICreateFlight implements UCController {
    //private ManagerView manView = new ManagerView();

    @Override
    public void run() {
        ManagerView mv = ManagerView.getInstance();
        mv.setVisible(false);
        CreateFlightView fv = new CreateFlightView();
        UCUICreateFlight uccf = new UCUICreateFlight(fv);
        uccf.run();

    }
}
